package com.yihr.ech.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.view.InternalResourceView;
import org.springframework.web.servlet.view.JstlView;

@Controller
public class FltController {

    @RequestMapping(value = "hello")
    protected String helloAction(Model model) {
//        JstlView InternalResourceView
        model.addAttribute("message", "a message addAttribute 11111");
        model.addAttribute("username", "username tag");
//        model.addAttribute("aa", "username tag");
        return "hello";
    }
}
